package com.geotmt.billingcenter.modules.hive.service;

import com.geotmt.billingcenter.common.entry.ConsumeStatisEntry;

import java.util.List;

/**
 * @Description 类描述
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/3/19 10:51
 * @Version     v1
 **/
public interface ConsumeHiveService {

    /**
     * 测试
     * @param tableName
     */
    void createTest(String tableName);

    /**
     * 查询hive中消耗的List
     * @param dayFlag
     * @return
     */
    List<ConsumeStatisEntry> listConsume(String dayFlag);

    /**
     * 查询hive中某段时间内的消耗List
     * @param startDay
     * @param endDay
     * @return
     */
    List<ConsumeStatisEntry> listConsume2(String startDay, String endDay);
}
